package com.shixun.milktea.service;


import com.shixun.milktea.entity.Manager;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zrs
 * @since 2022-06-07
 */
public interface ManagerService extends IService<Manager> {
    //新增
    int saveAdmin(Manager manager)throws Exception;
    List<Manager> selectList()throws Exception;
    UserDetails loadUserByUsername(String managerNickname) throws Exception;
}
